package com.huilan.service.impl;

import com.huilan.model.User;
import com.huilan.service.DubboService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @author ghy
 * @date 2019-04-09 13:24
 **/
@Service
public class DubboServiceImpl implements DubboService {
    /**
     * Gets name.
     *
     * @param name the name
     * @return the name
     */
    public String getName(String name) {
        User user = new User();
        return "Hello, "+ user.getUsername();
    }
}
